import { FC } from 'react'
import DogAlert from '@/components/Alert/alert'
import { Flex } from 'antd'

const DogAlertComponent: FC = () => {
  return (
    <Flex gap={5} vertical>
      <DogAlert title="标题" description="默认成功提示的文案" />
      <DogAlert title="标题 " type="success" description="成功提示的文案" onClose={() => console.log('关闭')} />
      <DogAlert title="标题" type="warning" description="警告提示的文案" />
      <DogAlert title="标题" type="danger" description="危险提示的文案" />
    </Flex>
  )
}
export default DogAlertComponent
